package com.pxxy.toturial.entity;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
import org.testng.annotations.Test;

/******************
 * @Author yejf
 * @Description TODO
 */
@ContextConfiguration(locations = {"classpath:applicationContext.xml"})
public class ComputerTestForSpring extends AbstractTestNGSpringContextTests {

    @Autowired
    private Computer computer;

    @Test
    public void testComputer() {
        System.out.println(computer);
    }
}
